Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: Telephony /
Chapter 6 - Telephone Tools / Telephone Tools Reference
Data Structures


Setup-Definition Structure

Your telephone tool receives a pointer to a setup-definition structure in the pSetup parameter of any messages sent to its setup-definition code resource. The setup-definition structure is defined by the TELSetupStruct data type.

struct TELSetupStruct {
   DialogPtr               theDialog;
   short                   count;
   Ptr                     theConfig;
   short                   procID;
};
typedef struct TELSetupStruct TELSetupStruct;
typedef TELSetupStruct *TELSetupPtr;
Field Description
theDialog
A pointer to the dialog box in which configuration is taking place.
count
The number of the first item in the dialog item list that you appended to your custom tool-settings dialog box.
theConfig
A pointer to the configuration field in the telephone record for your telephone tool.
procID
The tool ID of your telephone tool.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 DEC 1996



Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help